package com.xayy.mgt.model.xinwangmodel;

import cn.kawins.mybatis.base.BaseModel;
import cn.kawins.mybatis.util.SnowflakeId;
import io.swagger.annotations.ApiModelProperty;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import lombok.*;

/**
 * 评估历史
 * @author plq
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "health_xw.assess_history")
@EqualsAndHashCode(callSuper = true)
public class AssessHistory  extends BaseModel<Long> {

    @Id
    @ApiModelProperty(value = "主键")
    @KeySql(genId = SnowflakeId.class)
    @Column(name = "id")
    private Long id;
    /**
     * 评估时间
     */
    @ApiModelProperty(value = "评估时间")
    @Column(name = "assess_time")
    private Date assessTime;

    /**
     * 评估等级
     */
    @ApiModelProperty(value = "评估等级")
    @Column(name = "level")
    private String level;

    /**
     * 评估分值
     */
    @ApiModelProperty(value = "评估分值")
    @Column(name = "score")
    private Double score;
}
